package cn.wj.school.cloud.security;

/**
 * @author lidapeng
 */
public class SecurityAuthentication {

  private final String userCode;

  private Object principal;

  
  public SecurityAuthentication(String userCode, Object principal) {
    super();
    this.userCode = userCode;
    this.principal = principal;
  }

  public Object getPrincipal() {
    return principal;
  }

  public void setPrincipal(Object principal) {
    this.principal = principal;
  }

  public String getUserCode() {
    return userCode;
  }


}
